package com.igor.reporting.pages.problem;

import java.util.List;

import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.annotations.Inject;

import com.igor.reporting.dao.problem.ProblemDAO;
import com.igor.reporting.entities.problem.Problem;

public class Browse {

	@Inject
	private ProblemDAO ProblemDAO;

	@Property
	private List<Problem> problems;
	@Property
	private Problem problem;

	void onActivate() {
		problems = ProblemDAO.findAll();
	}

}
